package com.cdtu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName sys_contract
 */
@TableName(value ="sys_contract")
@Data
public class SysContract implements Serializable {
    /**
     * 合同id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 合同名称
     */
    private String name;

    /**
     * 甲方
     */
    private String firstParty;

    /**
     * 乙方
     */
    private String secondParty;

    /**
     * 合同金额
     */
    private Double money;

    /**
     *  签订时间
     */
    private Date signedTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}